package com.yfp.client.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @version 1.0
 * @date 2025-01-03 10:38
 */
@Data
public class LotteryRecordVO {

    @Schema(description = "id")
    private Long id;

    /**
     * 奖品名称
     */
    @Schema(description = "奖品名称")
    private String name;

    /**
     * 奖品类型
     */
    @Schema(description = "奖品类型")
    private Integer type;

    /**
     * 是否领取成功 true成功
     */
    @Schema(description = "是否领取成功 true成功")
    private Boolean isGain;

    /**
     * 有效期
     */
    @Schema(description = "有效期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date validityTime;

    /**
     * 获得时间
     */
    @Schema(description = "获得时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date acquireTime;

    /**
     * 状态
     */
    @Schema(description = "状态0失效1正常2已使用3已过期4待开始")
    private Integer status;

    /**
     * 领取数量
     */
    @Schema(description = "领取数量")
    private Integer distributionQuantity;

    /**
     * 领取后有效天数
     */
    private Integer validDays;

    /**
     * 中奖率
     */
    private BigDecimal rewardProbability;

    /**
     * 中奖弹窗-图片地址
     */
    @Schema(description = "中奖弹窗-图片地址")
    private String winPopupImageUrl;

    /**
     * 中奖弹窗-按钮
     */
    @Schema(description = "中奖弹窗-按钮")
    private String winPopupBtn;

    /**
     * 未中奖弹窗-图片地址
     */
    @Schema(description = "未中奖弹窗-图片地址")
    private String losePopupImageUrl;

    /**
     * 未中奖弹窗-文本文案
     */
    @Schema(description = "未中奖弹窗-文本文案")
    private String losePopupText;

    /**
     * 未中奖弹窗-按钮
     */
    @Schema(description = "未中奖弹窗-按钮")
    private String losePopupBtn;

    /**
     * 奖品略缩图
     */
    @Schema(description = "奖品略缩图")
    private String rewardImageUrl;

    /**
     * 剩余库存
     */
    private Long remainingStock;

    /**
     * lottery_records_reward表id
     */
    private Long lrrId;

    /**
     * 优惠券领取表id
     */
    private String clientCouponId;



}
